package com.wframe.project.jnd.util;

import com.wframe.project.jnd.entity.Promotion;
import org.springframework.stereotype.Component;

/**
 * Created by lwb on 2017/6/3.
 */
@Component
public class FlashSalePromotionBuilder extends ComplexPromotionsBuilder {
    @Override
    public Promotion build(String promotionId) throws Exception {
        return promotionService.findFlashSale(promotionId);
    }

}
